package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.SysConsultantExpert;
import com.kws.system.domain.info.QueryConsultantExpertInfo;
import com.kws.system.domain.info.QueryConsultationRecordInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysConsultantExpertMapper extends BaseMapper<SysConsultantExpert> {
    Page<QueryConsultantExpertInfo> queryConsultantExpertPage(@Param("page") Page<QueryConsultantExpertInfo> page, @Param("content") String content, @Param("companyId") Long companyId);

    QueryConsultantExpertInfo queryConsultantExpertById(@Param("id") Long id);

    Page<QueryConsultationRecordInfo> queryConsultationRecordPage(@Param("page") Page<QueryConsultationRecordInfo> page, @Param("expertId") Long expertId);
}
